﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class minusbtn : MonoBehaviour
{

    [SerializeField]
    InputField input;
    public cardcontrol cardcontrol;

    void Start()
    {
        cardcontrol = GameObject.Find("cardmanager").GetComponent<cardcontrol>();
    }


    public void removecard()
    {
        cardcontrol.Removecard(input.text);
    }
}
